﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    <Style TargetType="{x:Type TextBlock}" x:Key="StdLabels">
        <Setter Property="FontSize" Value="14" />
        <Setter Property="Foreground" Value="White" />
    </Style>
    
    <Style TargetType="{x:Type TextBlock}" x:Key="BirthBookHeader">
        <Setter Property="FontSize" Value="24" />
        <Setter Property="Margin" Value="15,10,0,0" />
        <Setter Property="HorizontalAlignment" Value="Left" />
        <Setter Property="FontFamily" Value="/Fonts/OpenSans-Regular.ttf#Open Sans" />
        <Setter Property="Foreground" Value="White" />
    </Style>
    <Style TargetType="{x:Type TextBlock}" x:Key="BirthBookTitle">
        <Setter Property="FontSize" Value="30" />
        <Setter Property="FontFamily" Value="Garamond" />
        <Setter Property="Foreground" Value="{DynamicResource Gray1}" />
    </Style>
    
    <Style TargetType="{x:Type TextBox}" x:Key="stdTextBox">
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontFamily" Value="/Fonts/OpenSans-Regular.ttf#Open Sans" />
        <Setter Property="FontSize" Value="16" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBox}">
                    <Border Name="PART_BORDER"
                            Background="{DynamicResource Dark2}" 
                            Padding="5,3"
                            CornerRadius="3"
                            Height="{TemplateBinding Height}"
                            Width="{TemplateBinding Width}">
                            
                        <ScrollViewer Margin="0"
                                      x:Name="PART_ContentHost" 
                                      VerticalScrollBarVisibility="Auto" 
                                      HorizontalScrollBarVisibility="Auto" 
                                      FontFamily="{TemplateBinding FontFamily}"
                                      Foreground="{TemplateBinding Foreground}"
                                      />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>